//
//  ListTableViewCell.m
//  AutoToCellHeight
//
//  Created by wanglei on 16/12/27.
//  Copyright © 2016年 wanglei. All rights reserved.
//

#import "ListTableViewCell.h"

@implementation ListTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
- (void)setModel:(ListModel *)model
{
    _model = model;
    
    self.iconImageView.image = [UIImage imageNamed:@"image.jpg"];
    self.desclabel.text = model.desc;
}

@end
